<%@ Control Language="C#"  %>
<%@ Register Assembly="Swaf.Gui.AspNet2" Namespace="Swaf.Gui.AspNet2" TagPrefix="swf" %>
<%@ Register Assembly="Syrinx.Gui.AspNet.Nitobi2" Namespace="Syrinx.Gui.AspNet.Nitobi2" TagPrefix="snc" %><%@ Register Assembly="NitobiControls" Namespace="Nitobi" TagPrefix="ntb" %>
	<swf:BizProc runat="server" ID="cpArt1" factoryName="eComSalesOrderItems">
		<ParentBizProc id="orderBP" fieldName="id" dataId="pid" />
		<ParentBizProc id="pArt1" fieldName="id" dataId="mlpid" cacheValue="false" />
		<State  includeSelf="false" entireTree="false" listDetailLevel="fullDetails" baseListFieldNameforMaster="product" />
	</swf:BizProc>
<div id="article" class="articlebox">
	<div id="Div1" class="articlebox">
		<h4><swf:ReadOnlyText CssClass="title" ID="title" runat="server" /></h4>
		<p></p>
		<div class="mainMediaArea">
			<asp:HyperLink CssClass="media" ID="primaryPicture_name" runat="server" ImageUrl="/$mediaCacheName$/SmallMedium/$primaryPicture.name$" EnableViewState="false"/><br />
			<swf:ReadOnlyText CssClass="summary" ID="summary" runat="server" />
		</div>
		<swf:ReadOnlyText CssClass="body" ID="body" runat="server"  Width="100%" Height="100%" />
	</div>
</div>
<div id="childArticles">
	<snc:ComplexBizObjListDisplay ID="cpl1" runat="server" ParentBizProcIds="cpArt1" ColumnElements="3"
		ReadOnlyTemplate="eCom.Gui.AspNet.SOItemsListDisplay-TitleBodyPrice-Table"  >
		<macros Parent="cpArt1" imageRes="Thumbnail" navLink="$CmpSetting(sitePath)$/products/$CalcArticleIds(SiteTemplates,$product.uniqueId$)$.aspx" />
	</snc:ComplexBizObjListDisplay>		
</div>
